When calling the MPCreateTask function, you specify the task to create by passing a pointer of type TaskProc which references the code to be executed as the task:
typedef OSStatus (*TaskProc) (void *parameter);
Introduced with Multiprocessing Services 1.0.